package sk.upjs.ics.fca.concepts;

/**
 * Vynimka, ktora nastane pri aplikovani kontextovych operatoroch
 * 
 * @author Patrik Mihalcin
 */
public class ContextOperatorException extends RuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public ContextOperatorException(int elementsCount, int fuzzySetSize) {
		super(
				String.format(
						"Context operator is not applicable on fuzzy set with size %d and number of elements %d.",
						fuzzySetSize, elementsCount));
	}

	public ContextOperatorException(String message, Exception e) {
		super(message, e);
	}
}
